<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
         contentType="text/html;charset=utf-8" %>
<%@ include file="/common/taglibs.jsp" %>
<head>
    <meta charset="utf-8"/>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <title>后台-登录</title>
</head>
<body class="gray-bg">

<div class="middle-box text-center loginscreen   animated fadeInDown">
    <div>
        <div>

            <h1 class="logo-img"><img src="${dll}/manage/img/logo512.png"></h1>

        </div>
        <h3>百本木家后台系统</h3>
        <%--<p>让EShow平台成为移动开发团队入门者的必备学习框架，成为一个流行的移动开发框架。--%>
        <%--</p>--%>
        <c:url var="loginUrl" value="/j_spring_security_check"/>

        <form class="m-t" role="form" id="log_form" action="${loginUrl}"  method="post">
            <c:if test="${param.error != null}">
                <div class="bg-warning p-xs b-r-sm"><fmt:message key="errors.password.mismatch"/></div>
            </c:if>
            <br>
            <div class="form-group">
                <input type="text" class="form-control validate[required]" placeholder="请输入用户名"  name="username" id="username">
            </div>
            <div class="form-group">
                <input type="password"  name="password" class="form-control validate[required,custom[onlyLetterNumber]]" id="password"  placeholder="请输入密码">
            </div>
            <div class="form-group">
                <div class="checkbox i-checks"><label> <input type="checkbox" id="rememberMe"  name="_spring_security_remember_me" /><i></i> 记住密码</label></div>
            </div>
            <button type="submit"  class="btn btn-primary block full-width m-b">立即登录</button>
        </form>

        <p class="m-t"> <small>Copyright © 2009 www.eshow.org.cn  All rights reserved. ICP备案编号：苏ICP备10018847号</small> </p>
    </div>
</div>




<%@ include file="/common/scripts.jsp" %>
<%@ include file="/common/validate.jsp" %>
<%@ include file="/common/icheck.jsp" %>
<script>
    $('#log_form').validationEngine({promptPosition:'topLeft'});


    $(document).ready(function(){
        $('.i-checks').iCheck({
            checkboxClass: 'icheckbox_square-green',
            radioClass: 'iradio_square-green',
        });

    });


</script>

</body>